<?php
require_once('../lib/standard.php');
if ((!perastike('login')) || (!$_REQUEST['login'])) telos('no login name passed');

global $pineza;
$pineza = new Globals(FALSE);

$user = new User($_REQUEST['login']);
$pineza->close_database();

if ($user->login) {
	print "OK\n" .
		"{$user->name}\n" .
		"{$user->email}\n" .
		"{$user->board}\n";
}
else {
	telos("{$_REQUEST['login']}: user not found");
}

print AJAX_SEP;
?>
